<template>
  <div>
    <keep-alive include="Layout,Result">
      <router-view v-if="$route.meta.keepAlive" />
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive" />
  </div>
</template>

<script>
export default {}
</script>

<style lang="less" scoped>
h1 {
  text-align: center;
}
.box {
  width: 450px;
  height: 100px;
  background-color: gold;
}
</style>
